.fn-hide{display: none;}
.fn-fl{float: left;}
.fn-w800{width: 800px;}
.fn-w200{width: 800px;}
input{width:150px;}
h1,h2{font-size: 14px;}
.importent{font-weight: 600;color:red;}
.ui-form {
    padding: 10px 20px 0;
}
.ui-half-box {
    float: left;
    width: 47%;
    min-width: 370px;
}
.ui-label {
    float: left;
    display: block;
    width: 120px;
    margin-top:2px;
    margin-bottom: 2px;
    line-height: 22px;
    text-align: left;
}
.ui-label input{
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -2px;
    *margin-right: -3px;
}
.ui-form-item:after {
    visibility:hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.ui-form-item {
    position: relative;
    margin-bottom: 2px;
    *margin-bottom: 4px;
    zoom:1; /* for IE6 IE7 */
}
.ui-autoform .ui-form-item {
    clear: both;
    display: inline-block;
    margin: 0 auto 6px;
    text-align: center;
}
.ui-checkbox {
    float: left;
    margin-top:6px;
    *margin-top:2px;
    margin-right: 0px;
    *margin-right: 0;
    vertical-align: top;
    text-align: left;
    width: 20px;
}
.ui-select {
    float: left;
    display: block;
    width: 160px;
    margin: 3px 4px auto 0;
}
 .ui-input {
    float: left;
    display: block;
    width: 154px;
    height: 14px;
    line-height: 20px;
    padding-left: 4px;
    margin-top: 2px;
    margin-right: 4px;
 }
 .fn-marl140  {margin-left: 140px;}
 .ui-tip {
    min-height: 30px;
    padding-top: 4px;   
 }
.ui-tip-container {
    float: left;
    display: none;
    min-width:360px;
    height: 28px;
    line-height:  28px;
    padding: 0 10px 0 4px;
    text-align: left;
    font-weight: bold;
}
.fn-padl20   {padding-left: 20px;}
/*fn-module fn模块*/
/* fn-clear 清除浮动 */
.fn-clear:after {
    visibility:hidden;
    display:block;
    font-size:0;
    content:" ";
    clear:both;
    height:0;
}
.fn-clear {
    zoom:1; /* for IE6 IE7 */
}

.mart-20{
    margin-top: 20px;
}

/*Ptz*/
.main-ptz {
    margin-bottom: 5px;
    text-align: center;    
}
.main-ptz-container {
    width: 152px;
    margin: 0;
    overflow: hidden;
}

/*Ptz-icon*/
.main-ptz-top {
    width: 148px;
    /*height: 270px;*/
}

/*
 * 模块名称:  boat module
 * 模块描述:  ui-boat -IPC普通球
 *            ui-boat-intel -智能球
 */
/*ui-boat*/
.ui-boat,
.ui-boat-current,
[class^= "ui-boat-current-"] {
    width: 100px;
    height: 100px;
    background-image: url(../image/boat.png?version=2.400);
    background-position: 0 0;
    background-repeat: no-repeat;
}
.ui-boat {
    margin: 10px auto 0 25px;
}
.ui-boat-current,
.ui-boat-intel-current {
    position: relative;
    left: 0;
    top: 0;
}
.ui-boat-current-up {
    background-position: 0 -120px;
}
.ui-boat-current-left {
    background-position: 0 -240px;
}
.ui-boat-current-center {
    background-position: 0 -360px;
}
.ui-boat-current-right {
    background-position: 0 -480px;
}
.ui-boat-current-down {
    background-position: 0 -600px;
}

[class^= "ui-boat-box-"] {
    position: relative;
    width: 40px;
    height: 25px;
    cursor: pointer;
    text-align: left; 
}
.ui-boat-box-up {
    left: 30px;
    top: 5px;
}
.ui-boat-box-left {
    left: 2px;
    top: 5px; 
    width: 30px;
    height: 35px;
}
.ui-boat-box-center {
    left: 37px;
    top: -20px;
    width: 24px;
    height: 24px;
}
.ui-boat-box-right {
    left: 66px;
    top: -53px;
    width: 30px;
    height: 35px;
}
.ui-boat-box-down {
    left: 30px;
    top: -50px;
}
/*ui-boat-intel*/
.ui-boat-intel,
.ui-boat-intel-current,
[class^= "ui-boat-intel-current-"] {
    width: 120px;
    height: 120px;
    background-image: url(image/boat.png?version=2.400);
    background-position: -120px 0;
    background-repeat: no-repeat;
    position: relative;
    left: 0;
    top: 0;
}
.ui-boat-intel {
    margin: 10px auto 0 20px;
}
.ui-boat-intel-current-up {
    background-position: -120px -120px;
}
.ui-boat-intel-current-left {
    background-position: -120px -240px;
}
.ui-boat-intel-current-center {
    background-position: -120px -360px;
}
.ui-boat-intel-current-right {
    background-position: -120px -480px;
}
.ui-boat-intel-current-down {
    background-position: -120px -600px;
}
[class^= "ui-boat-intel-box-"] {
    position: absolute;
    width: 50px;
    height: 30px;
    cursor: pointer; 
}
.ui-boat-intel-box-up {
    left: 31px;
    top: 5px;
}
.ui-boat-intel-box-left {
    left: 2px;
    top: 30px; 
    width: 30px;
    height: 50px;
}
.ui-boat-intel-box-center {
    left: 40px;
    top: 40px;
    width: 35px;
    height: 35px;
    text-align: center;
}
.ui-boat-intel-box-right {
    left: 82px;
    top: 30px;
    width: 30px;
    height: 50px;
}
.ui-boat-intel-box-down {
    left: 31px;
    top: 80px;
}
.ui-boat-intel-box-center span {
    line-height: 35px;
}
.ui-boat-intel-box-center span {
    color: #111;
}

/* fn-border-radius 边框圆角*/
.fn-border-radius {
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
.fn-border-top-radius {
    -moz-border-radius: 4px 4px 0 0;
    -khtml-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}
.fn-border-bottom-radius {
    -moz-border-radius: 0 0 4px 4px;
    -khtml-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}



[class^= "ui-ptz-icon-"]{
    background-image: url(image/icons.png?version=2.400);
}

/*ui-ptz 模块*/
.ui-ptz-adjust-item .ui-ptz-icon {
    margin: 10px 0 0; 
}
.ui-ptz-icon-more {
    background-position: 0 -270px;    
}
.ui-ptz-icon-less {
    background-position: 0 -300px;    
}
.ui-ptz-adjust-text {
    float: left;
    display: block;
    width: 56px;
    padding-top: 15px;
    text-align: center;
}
.ui-ptz-icon {
    float: left;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 14px 14px 0px;
    background-position: 0 0;
    background-repeat: no-repeat;
}
[class^= "ui-ptz-icon-"] {
    display: block;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat; 
}
.ui-ptz-icon-more {
    background-position: 0 -270px;    
}
.ui-ptz-icon-less {
    background-position: 0 -300px;    
}

.ui-ptz-iconbox {
    width: 128px;
    height:110px;
    margin-left: 20px;
    margin-bottom: 10px;
}
.ui-ptz-icon,
.ui-ptz-specail-icon {
    float: left;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 14px 14px 0px;
    background-position: 0 0;
    background-repeat: no-repeat;
    cursor: pointer;
}
.ui-ptz-specail-icon {
    width: 34px;
    height: 34px;
    margin: -3px 11px 3px -3px;
    background-position: 0 -60px;
}
.ui-ptz-icon:hover,
.ui-ptz-icon-current {
    background-position: 0 -30px;
}
.ui-ptz-icon-disabled,
.ui-ptz-icon-disabled:hover {
    background-position: 0 0px;
}
.ui-ptz-specail-icon:hover,
.ui-ptz-specail-icon-current {
    background-position: 0 -94px;
}

.disabled.ui-ptz-specail-icon:hover {
    background-position: 0 -60px;
}
.ui-ptz-specail-icon [class^= "ui-ptz-icon-"] {
    float: left;
}

.ui-ptz-icon-leftup {
    background-position: 0 0;    
}
.ui-ptz-icon-up {
    background-position: 0  -30px;    
}
.ui-ptz-icon-rightup {
    background-position: 0  -60px;    
}
.ui-ptz-icon-left {
    background-position: 0  -90px;    
}
.ui-ptz-icon-right {
    background-position: 0  -120px;   
}
.ui-ptz-icon-leftdown {
    background-position: 0  -150px;    
}
.ui-ptz-icon-down {
    background-position: 0  -180px;    
}
.ui-ptz-icon-rightdown {
    background-position: 0  -210px;   
}
.ui-ptz-icon-center {
    background-position: 0 -240px;
}
.ui-ptz-icon-null {
    background-position: 0 -1000px;
}


.ui-ptz-icon{
    background-image: url(image/pic.png?version=2.400);
}

.main-ptz-adjust{
    padding-left: 20px;
}